package com.hs.device.charger.service;


import com.hs.communication.common.entity.Charger;
import com.hs.communication.common.entity.ChargerData;
import com.hs.communication.common.entity.vo.DeviceVo;
import com.hs.device.charger.entity.dto.HistoryDataDto;
import com.hs.device.charger.entity.vo.ChargerDataVo;

import java.util.List;

public interface ChargerService {
    List<Charger> getListByUserId(String status);
    DeviceVo getStatistics(long userId);
    List<String> getSns(long userId);
    List<String> getSns();

    int updateStatus(Charger charger);

    int insert(ChargerData chargerData);


    List<ChargerData> getHistory(HistoryDataDto historyDataDto);

    int deleteHistory(List<Long> ids);
}
